package com.zkjl.protect_business.repository;

import com.zkjl.protect_business.entity.Archive;
import com.zkjl.protect_business.entity.AssessmentPolitical;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

public interface ArchiveRepository extends ElasticsearchRepository<Archive, String> {

    List<Archive> findAllByBusinessId(String businessId);

    Archive findByIndexName(String indexName);

}
